package com.ftg.learn.chapter8.isa;

/**
 * 狼
 *
 * @author kangjx
 * @version 1.0
 * @date 2023/7/25 下午2:10
 */
public class Wolf extends Animal{

    public void yao(){
        System.out.println("咬人");
    }

    /**
     * Override 重写
     * OverLoad 重载
     */
    @Override
    public void eat(){
        System.out.println("狼吃肉");
    }

}
